<%@page import="com.jfinal.kit.PropKit"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>	
<html>
<head lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>违章查询</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link href="/wx/css/bootstrap.min.css" rel="stylesheet">
    <link href="/wx/css/jquery-confirm.min.css" rel="stylesheet">
    <link href="/wx/css/font-awesome.min.css" rel="stylesheet">
    <script src="/wx/js/jquery.min.js"></script>
    <script src="/wx/js/bootstrap.min.js"></script>
    <script src="/wx/js/jquery-confirm.min.js"></script>
    <link rel="stylesheet" href="/wx/css/chongzhi.css" />
   	<script>
  	 $(document).ready(function () {
		 	var illegoCode=document.getElementById("illegoCode").value;
	    	var illegoreason=document.getElementById("illegoreason").value;
	    	if(illegoCode==0){
	    		 document.getElementById("message-data").style.display=''; 
	    	}
	    	else{
	    		 document.getElementById("error-message").style.display='block';
	    		 document.getElementById("message-data").style.display='none'; 
	    	}
	    });
	</script>
</head>
<body>
<div id="message-data">
			<input type="hidden" id="illegoCode" value="${illegoCode }">
			<input type="hidden" id="illegoreason" value="${illegoreason }">
	<c:forEach items="${lists}" var="item">
		<div class="weizhang-top">
			<div class="weizhangtop-top">
				<div class="weizhangtop-top-top"><span>${item.date}</span></div>
				<div class="weizhangtop-top-center"><span>${item.area}</span></div>
				<div class="weizhangtop-top-bottom"><span style="color: red;">未处理</span> <span style="padding-left: 20%;">扣<span>${item.fen}</span>分</span> <span style="padding-left: 20%;">罚款<span>${item.money}</span></span></div>
			</div>
			<div class="weizhangtop-bottom">
				<input type="button" value="详情">
				<input type="button" value="代缴">
			</div>
		</div>
	</c:forEach>
		</div>
		<div class="weizhang-message" id="error-message" hidden>
				对不起，您输入的信息有误，请核对后查询
		</div>
		
</body>
</html>